package com.community.itelligentcommunity.sys.service;

import com.community.itelligentcommunity.common.base.dao.GenericDao;
import com.community.itelligentcommunity.common.base.service.GenericService;
import com.community.itelligentcommunity.sys.dao.CommunityUserDao;
import com.community.itelligentcommunity.sys.entity.CommunityUser;
import com.community.itelligentcommunity.sys.entity.QueryCommunityUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor={IllegalArgumentException.class})
public class CommunityUserService  extends GenericService<CommunityUser, QueryCommunityUser> {

    @Autowired
    private CommunityUserDao communityUserDao;

    @Override
    protected GenericDao<CommunityUser, QueryCommunityUser> getDao() {
        return communityUserDao;
    }


}
